#10.5.1图的矩阵表示
#用矩阵函数array表示矩阵
import numpy as np
import _00GraphFuc as gf

V={'a','b','c','d','e'}
E={('a','c'),('a','d'),('b','e'),('b','d'),('c','e')}
A=np.array([[1.,1.,0.,0.,0.],
            [0.,0.,1.,1.,0.],
            [1.,0.,0.,0.,1.],
            [0.,1.,0.,1.,0.],
            [0.,0.,1.,0.,1.]])
print(A)